package com.crm.service.internalTrainingManager;

import com.alibaba.fastjson.JSONObject;
import com.crm.model.entity.internalTrainingManager.CustomerUser;

import java.util.List;

/**
 * @Author renshaorong
 * @Date 2021/9/6
 */
public interface CustomerUserDbService {

    Boolean insertSelective(CustomerUser customerUser);

    List<CustomerUser> selectByCustomerAndOwner(String customerId, String ownerId);

    Integer selectCountByOwner(String ownerId);

    boolean updateByPrimaryKeySelective(CustomerUser customerUser);

    List<JSONObject> selectCustomerByOwnerId(String ownerId);
}